package com.baidu.service;

import com.baidu.entity.PageResult;
import com.baidu.entity.Result;
import com.baidu.pojo.Permission;
import com.baidu.pojo.Role;

import java.util.List;
import java.util.Map;

public interface RoleService {
    public void addRole(Role role,Integer[] permissionIds);
    public Role findRoleById(Integer id);
    public PageResult findPage(Integer currentPage, Integer pageSize, String queryString);
    public void editRole(Role role, Integer[] permissionIds);
    public void deleteRoleById(Integer id);
}
